Visual Basic (Declaration) | |
---|---|
Overloads Function TryUpdate( _ ByVal key As TKey, _ ByVal value As TValue _ ) As Boolean |
Parameters
- key
- The object to use as the key of the element to update.
- value
- The new value for the key if found.
Return Value
Returns true if the key provided was found and updated to the value.Exception | Description |
---|---|
System.NotSupportedException | The IDictionary is read-only. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7